You are here: COM API reference > Client objects > IAMImportHost interface

IAMImportHost interface

During the process of creating a new document, the Meridian Enterprise client applications provide this interface. It allows your extension code to query information about the new document.

See the sample code below on how to obtain this interface.

Members
Name Description

File property

String. See Remarks.

TemplateID property

String. See Remarks.

Type property

AMIMPORT_TYPE constant.

Details property

AMIMPORT_DETAILS constant.

Remarks

File

When a file is imported from the file system, this property returns the path of the source file.

TemplateID

When a new document is created from a Document Template, this property returns the Object ID of the Document Template. If no templates are defined in Meridian Enterprise, this property will return the name of the selected Windows template.

Related information

ImportDetails property

Example

    Dim info As IAMImportHost2
    Set info = m_Designer.GetHostService (SERVICE_IMPORTHOST)
    ' or...
    Set info = m_Designer.ImportDetails

    If Not info Is Nothing Then
        ' Add your code here...
    End If

www.bluecieloecm.com